﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage/AdminInner.Master" AutoEventWireup="true" CodeBehind="BlogDetail.aspx.cs" Inherits="WebSite.Admin.BlogManager.BlogDetail" %>
<%@ Register Assembly="BaseSet.Entity" Namespace="BaseSet.Entity.Common.Controls"
    TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<style type="text/css">
<!--
.STYLE11 {font-size: 12px}
.STYLE13 {font-size: 12px; font-weight: bold; }
.STYLE14 {
	color: #03515d;
	font-size: 12px;
}
-->
</style>
<script type="text/javascript" language="javascript" src="../js/tableliststyle.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr><td width="8" background="../images/tab_12.gif">&nbsp;</td><td height="15px" ></td> <td width="8" background="../images/tab_15.gif">&nbsp;</td></tr>
      <tr>
        <td width="8" background="../images/tab_12.gif">&nbsp;</td>
        <td>
       

            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6">
           <tr>
          <td colspan="4" width="100%" height="25" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE13">博客详情</span></div></td>
          </tr>

          <tr>
            <td width="10%" height="25"  bgcolor="#e8f6fd"><div align="center"><span class="STYLE11">类别：</span></div></td>
            <td width="40%" height="25"  bgcolor="#FFFFFF"><div align="left" 
                    style="text-align: left">
                <span class="STYLE11">
                    <asp:Literal ID="litBlogType" runat="server"></asp:Literal>
                </span></div></td>
            <td width="10%" height="25"  bgcolor="#e8f6fd"><div align="center"><span class="STYLE11">发表人：</span></div></td>
            <td width="40%" height="25"  bgcolor="#FFFFFF"><div align="left" 
                    style="text-align: left">
                <span class="STYLE11">
                    <asp:Literal ID="litNickName" runat="server"></asp:Literal>
                </span></div></td>
          </tr>
            <tr>
            <td width="10%" height="25"  bgcolor="#e8f6fd"><div align="center"><span class="STYLE11">浏览量：</span></div></td>
            <td width="40%" height="25"  bgcolor="#FFFFFF"><div align="left" 
                    style="text-align: left">
                <span class="STYLE11">
                    <asp:Literal ID="litPVCount" runat="server"></asp:Literal>
                </span></div></td>
            <td width="10%" height="25"  bgcolor="#e8f6fd"><div align="center"><span class="STYLE11">回帖量：</span></div></td>
            <td width="40%" height="25"  bgcolor="#FFFFFF"><div align="left" 
                    style="text-align: left">
                <span class="STYLE11">
                    <asp:Literal ID="litReplyCount" runat="server"></asp:Literal>
                </span></div></td>
          </tr>
          <tr>
            <td width="10%" height="25"  bgcolor="#e8f6fd"><div align="center"><span class="STYLE11">推荐量：</span></div></td>
            <td width="40%" height="25"  bgcolor="#FFFFFF"><div align="left" 
                    style="text-align: left">
                <span class="STYLE11">
                    <asp:Literal ID="litRecommandCount" runat="server"></asp:Literal>
                </span></div></td>
            <td width="10%" height="25"  bgcolor="#e8f6fd"><div align="center"><span class="STYLE11">发表日期：</span></div></td>
            <td width="40%" height="25"  bgcolor="#FFFFFF"><div align="left" 
                    style="text-align: left">
                <span class="STYLE11">
                    <asp:Literal ID="litCreateDate" runat="server"></asp:Literal>
                </span></div></td>
          </tr>
          <tr>
            <td width="10%" height="25"  bgcolor="#e8f6fd"><div align="center"><span class="STYLE11">标题：</span></div></td>
            <td width="90%" height="25"  bgcolor="#FFFFFF" colspan="3"><div align="left" 
                    style="text-align: left">
                
                <span class="STYLE11">
                    <asp:Literal ID="litTitle" runat="server"></asp:Literal>
                </span></div></td>
           
          </tr>
         
         <tr>
            <td width="10%" height="25"  bgcolor="#e8f6fd"><div align="center"><span class="STYLE11">博客内容：</span></div></td>
            <td width="90%" height="25"  bgcolor="#FFFFFF" colspan="3"><div align="left" 
                    style="text-align: left">
               
                <span class="STYLE11">
                    <asp:Label ID="lblContent" runat="server"></asp:Label>
                    </span></div></td>
           
          </tr>
          <tr>
          <td colspan="4" width="100%" height="25" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="left"><span class="STYLE13">回复</span></div></td>
          </tr>
          <tr>
           <td colspan="4" width="100%" height="25" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="left">
           <span class="STYLE13">
           <asp:Repeater ID="rptReply" runat="server" 
                onitemcommand="rptReply_ItemCommand">
            <HeaderTemplate>
            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6" onmouseover="changeto(event)"  onmouseout="changeback(event)">
          <tr>
           <td width="5%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">序号</span></div></td>
            <td width="75%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">回复内容</span></div></td>
           <td width="5%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">回复人</span></div></td>
            <td width="10%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">回复日期</span></div></td>
            <td width="5%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF" class="STYLE11"><div align="center">基本操作</div></td>
          </tr>
            </HeaderTemplate>
            <ItemTemplate>
            <tr>
            <td height="20" bgcolor="#FFFFFF"><div align="center" class="STYLE11">
              <div align="center"><%#Eval("No") %></div>
            </div>
                <asp:HiddenField ID="hidID" runat="server" Value='<%#Eval("ID") %>'/>
            </td>
            <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11"><%#Eval("ReplyContent")%></span></div></td>
            <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11"><%#Eval("ReplyNickName")%></span></div></td>
           <td bgcolor="#FFFFFF"><div align="center"><span class="STYLE11"><%#Eval("strcreatedate")%></span></div></td>
            <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE14">
                <asp:LinkButton ID="__Del" runat="server" CommandName="delete" OnClientClick="return confirm('确定要删除吗？');">删除</asp:LinkButton>&nbsp;</span></div></td>
          </tr>
            </ItemTemplate>
            <FooterTemplate>
            </table>
            </FooterTemplate>
            </asp:Repeater>
           </span></div></td>
          </tr>
          <tr>
        <td colspan="4" width="100%" height="25" background="../images/bg.gif" bgcolor="#FFFFFF" class="STYLE14">
    <ul class="subsubsub">
        <asp:Literal ID="PageLiteral" runat="server"></asp:Literal>
    </ul>
      <cc1:URLPager ID="ReplyUPager" runat="server" UseSpacer="False" UseFirstLast="true"
        PageSize="15" FirstText="<< 首页" LastText="尾页 >>" LinkFormatActive='<span class=Current>{1}</span>'
        CssClass="Pager" />
   
   </td>
   </tr>
            </table>
           
        </td>
        <td width="8" background="../images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>

    <tr>
    <td height="35" background="../images/tab_19.gif">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="../images/tab_18.gif" width="12" height="35" /></td>
        <td>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td class="STYLE14" valign="middle" align="center">
        <asp:button id="btnRecommand" runat="server" Width="100px" CssClass="ButtonCss" Text="推荐"
							CausesValidation="False" onclick="btnRecommand_Click"></asp:button>&nbsp;
                            <asp:button id="btnDelete" runat="server" Width="100px" 
                CssClass="ButtonCss" Text="屏蔽"
							CausesValidation="False"  OnClientClick="return confirm('确定要屏蔽该博客吗？');" 
                onclick="btnDelete_Click"></asp:button>&nbsp;
						<asp:button id="ReturnBtn" runat="server" Width="100px" CssClass="ButtonCss" Text="返回"
							CausesValidation="False" onclick="ReturnBtn_Click" ></asp:button>
			

   </td>
   </tr>
   </table>
        </td>
        <td width="16"><img src="../images/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table>
    </td>
  </tr>
   

</table>
</asp:Content>